<template>
        
    <!-- 菜单分页模块 -->
    <div class="menu clearfix">
        <div class="menu_title">
            <ul class="w">
                <router-link active-class="active" to="/home">
                    <li>首页</li>
                </router-link>
                <router-link active-class="active"  to="/issue">
                    <li>农户发布</li>
                </router-link>
                <router-link active-class="active" to="mortgage">
                    <li>抵押产品</li>
                </router-link>
                <router-link active-class="active" to="/flow">
                    <li>抵押流程及资料</li>
                </router-link>
                <router-link active-class="active" to="/coopbank">
                    <li>合作银行</li>
                </router-link>
                <router-link active-class="active" to="/contact">
                    <li>联系我们</li>
                </router-link>
            </ul>
        </div>
        <div class="menu_content clearfix">
          <router-view></router-view>
        </div>
    </div>
</template>

<script>
export default {
name:'Menu'
}
</script>

<style lang='less'>
// menu菜单模块
.active{
   color: #FFFFFF;
   background: rgba(255, 255, 255, .3);
}
.menu{
  margin-top: 30px;
  width: 100%;
  .menu_title {
      
    font-family: PingFangSC-Semibold;
    font-size: 18px;
    letter-spacing: 0;
    height: 50px;
    background: #EE384A;
    font-size: 18px;
    color: #FFFFFF;
    font-weight: 600;

  ul{
    li{
      float: left;
      margin-right: 42px;
      padding: 13px 18px;
      text-align: center;
    }
    :hover{
      color: #FFFFFF;
      background: rgba(255, 255, 255, .3);
    }
  }
}
  .menu_content{
    width: 100%;
  }
}
</style>